package com.xuzimian.globaldemo.spring.springrpc.webservice;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 * webservice服务注入的bean实现的接口必须提供targetNamespace
 * 而对应的服务实现类的targetNamespace必须和接口的targetNamespace保持一致 不然找不到方法
 */
@WebService(targetNamespace="http://www.xuzmian.com",portName = "HelloServiceImplPort",serviceName = "SpringWebService")
public interface SpringWebService {

    @WebMethod
    String doSomething(@WebParam(name="doing") String doing);
}
